package org.x.user.dto;

import com.mybatisflex.annotation.Column;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor// 有参构造
@NoArgsConstructor//无参构造
public class LogQueryDTO {
    private Integer page;
    private Integer size;


    @Column(value = "user_id")
    private Long userId;

    // 操作类型
    @Column(value = "action")
    private String action;

    @Column(value = "target_type")
    private String targetType;


    @Column(value = "target_id")
    private Long targetId;

        // 变更详情
    @Column(value = "detail")
    private Object detail;


    @Column(value = "ip")
    private String ip;


    @Column(value = "created_time")
    private Date createdTime;

}
